﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JotEditContent.aspx.cs"
    Inherits="JotCMS.JotEditContent" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Edit Content</title>
    <link rel="Stylesheet" type="text/css" href="/JotCMS/css/jHtmlArea.css" />
    <script type="text/javascript" language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="/JotCMS/scripts/jHtmlArea-0.7.0.min.js"></script>
    <script type="text/javascript" src="/JotCMS/scripts/JotCMS.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#txtDefaultHtmlArea").htmlarea(); // Initialize jHtmlArea's with all default values
        });   </script>
</head>
<body>
    <form runat="server" action="ContentAction.ashx" method="post">
    <div>
        <div id="EditorArea">
            <textarea id="txtDefaultHtmlArea" cols="60" rows="22" runat="server"></textarea>
        </div>
        <div id="DetailsArea">
            <fieldset>
                <ul>
                    <li>
                        <br />
                        <b>Actions</b></li>
                    <li>
                        <input type="submit" id="SaveButton" onclick="javascript:SaveContentToServer()" value="Save" accesskey="S" /></li>
                    <li id="ItemCacheLI" runat="server"><br /><a id="ClearItemCache" href="javascript:ClearCache()">Clear Item Cache</a></li>
                    <li id="AllCacheLI" runat="server"><a id="ClearAllCache" href="javascript:ClearCache(true)">Clear All Cache</a></li>
                    <li>
                        <br />
                        <b>Info</b></li>
                    <li><span>Created
                        <asp:Label ID="CreatedBy" runat="server"></asp:Label>
                        on
                        <br />
                        <asp:Label ID="Created" runat="server"></asp:Label></span></li>
                    <li><span>Last Updated By
                        <asp:Label ID="UdpatedBy" runat="server"></asp:Label>
                        on
                        <br />
                        <asp:Label ID="Updated" runat="server"></asp:Label></span></li>
                </ul>
                <asp:HiddenField ID="ContentName" runat="server" />
            </fieldset>
        </div>
    </div>
    </form>
</body>
</html>
